package com.simin.base.appnet.netother;

import android.content.Context;

/**
 * Created by wsm on 17/10/28.
 */
public abstract class OnNextListener<T> {

    //成功的回调
    public abstract void onNext(T t);

    //可重写 错误的回调
    public void onError(final Context context, final int code, String message) {
    }

}
